﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using TravelAgencySilverlight.Web;


namespace TravelAgencySilverlight.ViewModels
{
    public class ViewModelPhoto
    {
        private Photo photo;

        public ViewModelPhoto(Photo photo)
        {
            this.photo = photo;
        }

        public string PhotoName
        {
            get { return this.photo.Name; }
        }

        public byte[] PhotoContent
        {
            get { return this.photo.PhotoContent; }
        }
    }
}
